package com.frkj.yuan.activity;
import android.widget.TextView;

import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import com.frkj.yuan.R;
import com.frkj.yuan.adapter.BaseRecyclerHolder;
import com.frkj.yuan.adapter.BaseRecyclerRefreshAdapter;
import com.frkj.yuan.base.BaseActivity;
import com.frkj.yuan.utils.FullScreenUtils;
import com.frkj.yuan.view.RecyclerViewLayoutManager;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import butterknife.BindView;
import butterknife.OnClick;
import cn.ycbjie.ycstatusbarlib.bar.YCAppBar;

/**
 * 信息说明: 检测报告详情
 * company: 兰州丰荣信息科技有限公司
 * 创建时间: on 2022/3/8 14 ：34
 * 项目名称：yuanban
 */
public class CheckReportDetialsActivity extends BaseActivity {
    @BindView(R.id.reccy_check)
    RecyclerView mRecyclerViews;
    @BindView(R.id.base_title)
    TextView mTiTleMsg;
    @Override
    public int getLayoutId() {
        return R.layout.activity_check_detials;
    }
    @OnClick(R.id.base_back)
    public void OnClick(){
        finishWitchAnimation();
    }
    @Override
    public void initLayoutView() {
        mTiTleMsg.setText("检查报告详情");
        FullScreenUtils.getInstance().fullScreen(CheckReportDetialsActivity.this,true);
        RecyclerViewLayoutManager.setGridLayoutManager(CheckReportDetialsActivity.this,mRecyclerViews,2);
        List<String> mlist = new ArrayList<>();
        for (int i = 0; i <2 ; i++) {
            mlist.add("1");
        }
        mRecyclerViews.setAdapter( new BaseRecyclerRefreshAdapter<String>(CheckReportDetialsActivity.this, mlist, R.layout.check_icon_item) {
            @Override
            public void convert(BaseRecyclerHolder holder, String item, int position, boolean isScrolling) throws IOException {

            }
        });
    }
}
